package com.woniuxy.cloud.userassembly.service;

import com.woniuxy.cloud.entity.TUserAddress;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.cloud.form.UpdateUserAddressForm;
import com.woniuxy.cloud.form.UserAddressForm;

import java.util.List;

/**
 * <p>
 * 用户地址表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-09-24
 */
public interface ITUserAddressService extends IService<TUserAddress> {
   Integer addUserAddress(UserAddressForm userAddressForm);

   List<TUserAddress> getUserAddressListByUserId(Integer userId);

   Integer updateUserAddress(UpdateUserAddressForm updateUserAddressForm);

   Integer deleteUserAddressById(Integer userAddressId);

   TUserAddress getUserAddressById(Integer userAddressId);
}
